package com.luci.annotation;


import com.luci.config.AuthProperties;
import com.luci.config.WebSecurityConfig;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * security auto config support class
 *
 * @author yuyanan01@beyondsoft.com
 * @version 1.0
 * @date 18-11-23
 */
@Configuration
@ConditionalOnClass(WebSecurityConfig.class)
@ConditionalOnMissingBean(WebSecurityConfig.class)
@EnableConfigurationProperties(AuthProperties.class)
@Import(WebSecurityConfig.class)
public class EnableFastSecurityAutoConfiguration {

}
